// 统一管理方法
import { addChannel, delChannel, getAllChannel } from './channel'
import { followAuth, getArticle, getComments, setComment, unFollowAuth } from './detail'
import { editInfo, uploadImg } from './edit'
import { getNewList, getUserChannel } from './home'
import {login} from './login'
import { getUserInfo } from './my'
import { getResult, getThink } from './serach'

// 暴露方法
export const loginApi = login
export const getUserInfoApi = getUserInfo
export const editInfoApi = editInfo
export const uploadImgApi = uploadImg
export const getUserChannelApi = getUserChannel
export const getNewListApi = getNewList
export const getArticleApi = getArticle
export const followAuthApi = followAuth
export const unFollowAuthApi = unFollowAuth
export const getCommentsApi = getComments
export const setCommentApi = setComment
export const getAllChannelApi = getAllChannel
export const addChannelApi = addChannel
export const delChannelApi = delChannel
export const getThinkApi = getThink
export const getResultApi = getResult

